﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FWMS.Service
{
    class Taizhangguanli
    {

        //出库时间获取
        public string taizhangguanli_getchukudata(string pingming, string guige, string beizhu, string month)
        {
            DAO.Taizhangguanli taizhangguanli = new DAO.Taizhangguanli();
            return taizhangguanli.kugunguanli_selectchukudate(pingming, guige, beizhu, month);
        }
        //台帐使用提取原料数据
        public Bean.KucunguanliBean taizhangguanli_taizhanggetneeddata(string type)
        {
            DAO.Taizhangguanli taizhangguanli = new DAO.Taizhangguanli();
            return taizhangguanli.taizhangget_kucunyuanliaodata(type);
        }
        //台帐使用提取产品数据
        public Bean.KucunguanliBean taizhangguanli_taizhanggetchanpindata()
        {
            DAO.Taizhangguanli taizhangguanli = new DAO.Taizhangguanli();
            return taizhangguanli.taizhangget_kucunchanpin();
        }
        //台帐使用提取原料数据
        public bool taizhangguanli_zhuliucheng(string type)
        {
            DAO.Taizhangguanli taizhangguanli = new DAO.Taizhangguanli();
            return taizhangguanli.taizhang_zhuliucheng(type);
        }
        //台帐使用提取成品数据
        public bool taizhangguanli_getchanpinzhuliucheng(string type)
        {
            DAO.Taizhangguanli taizhangguanli = new DAO.Taizhangguanli();
            return taizhangguanli.taizhang_chanpinzhuliucheng(type);
        }
    }
}
